﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" x:Class="MoneyBook.MainPage"
    mc:Ignorable="d"
    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" 
    xmlns:localNav="clr-namespace:MoneyBook.Navigation"
    d:DesignHeight="425" d:DesignWidth="619" Language="{Binding Language,Source={StaticResource Strings}, Converter={StaticResource StringToXmlLanguageConverter}}">

    <Grid x:Name="LayoutRoot" Margin="5,0">
    	<Grid.RowDefinitions>
    		<RowDefinition Height="29"/>
    		<RowDefinition/>
    	</Grid.RowDefinitions>
    	<TextBlock Text="MoneyBook" FontSize="18.667" FontFamily="Arial Black" Foreground="#FFDADADA">
    		<TextBlock.RenderTransform>
    			<CompositeTransform TranslateX="2" TranslateY="2"/>
    		</TextBlock.RenderTransform>
    	</TextBlock>
    	<TextBlock Text="MoneyBook" FontSize="18.667" FontFamily="Arial Black" />

        <sdk:Frame Grid.Row="1" Source="{Binding Pages.Views.LoginViewUri, Source={StaticResource PagesWrapper}}" JournalOwnership="OwnsJournal">
            <i:Interaction.Behaviors>
                <localNav:NavigationMessageHandleBehavior />
            </i:Interaction.Behaviors>
        </sdk:Frame>

    </Grid>
</UserControl>
